package com.dxysun.design.adapter.interfaceadapter;

public class Adapter implements Target
{
	private Adaptee adaptee;

	public Adapter(Adaptee adaptee)
	{
		this.adaptee = adaptee;
	}

	@Override
	public String request1(String str)
	{
		String res = adaptee.specificRequest(str);
		return res + " from Adapter";
	}

	@Override
	public String request2(String str)
	{
		return "";
	}

	@Override
	public String request3(String str)
	{
		return "";
	}
}
